package com.soulmate.product.data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 产品do
 *
 * @author huaiping
 * @date 2/17/23-3:38 PM
 */
@Data
@TableName("product")
@AllArgsConstructor
@NoArgsConstructor
public class ProductDO {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品价格
     */
    private Integer productPrice;
}
